﻿/// <reference path="../../js/Eight.js" />

(function () {
    "use strict";

    WinJS.UI.Pages.define("/pages/settings/help.html", function createPage() {

        function _showLog(e) {
            Eight.Log.show();
        }

        function ready(element, options) {
            document.getElementById("showLog").addEventListener("click", _showLog);
        }

        function unload() {
            // TODO: implement
        }

        function updateLayout(element, viewState, lastViewState) {
            // TODO: implement
        }

        return {
            ready: ready,
            unload: unload,
            updateLayout: updateLayout
        };

    }());
})();